import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
// user模块
export default ({
    namespaced: true,
    state: {
        name: '王五'
    },
    getters: {
    },
    mutations: {
        setusername(state, data) {
            state.name = data
        }
    },
    actions: {
    },
})
